//
//  LinkNavigationController.swift
//  live
//
//  Created by melvyn on 2018/8/15.
//  Copyright © 2018 NEET. All rights reserved.
//

import UIKit

class LinkNavigationController: UINavigationController {
    open override var shouldAutorotate: Bool {
        return visibleViewController!.shouldAutorotate
    }

    open override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
        return visibleViewController!.supportedInterfaceOrientations
    }
}
